Generating large primes

نویسنده

  • Saad Mneimneh
چکیده

1 A simple paradigm Generating a large prime is an important step in the RSA algorithm. We can generate a large prime by repeatedly selecting a large random integer and testing it for primality. We stop when a prime number is found. Therefore, assume that a large integer n is given, and choose a rational number α < 1 to perform the following algorithm: repeat generate a random integer p ∈ [n α , n] until p is prime There are two important aspects of the above algorithm. First, it is random-ized in the sense that our random choices determine its running time (through the number of iterations). Second, it relies heavily on a method for primality testing, which will dominate the running time of a single iteration (making a random choice takes O(log n) time since it requires generating that many bits). 2 Analysis of number of iterations Let us first determine the probability of choosing a prime in [n α , n]. We use a famous result in number theory: Prime number theorem Let π(n) be the number of primes ≤ n. Then π(n) ∼ n ln n This is an asymptotic characterization, i.e. lim n→∞ π(n) ln n n = 1. Since we are dealing with large values of n, making the approximation π(n) ≈

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Algorithm for Generating Primes for the Giuliani-Gong Public Key System

In this paper we propose an algorithm for computing large primes p and q such that q divides p4 + p3 + p2 + p+ 1 or p4 − p3 + p2 − p+ 1. Such primes are key parameters for the GiulianiGong Public Key System.

متن کامل

Generating Primes Using Partitions

This paper presents a new technique of generating large prime numbers using a smaller one by employing Goldbach partitions. Experiments are presented showing how this method produces candidate prime numbers that are subsequently tested using either Miller Rabin or AKS primality tests. Introduction Generation of large prime numbers is fundamental to modern cryptography protocols [1],[2], generat...

متن کامل

Generating elements of orders dividing p 6 ± p 5 + p 4 ± p 3 + p 2 ± p + 1 Maciej

In this paper we propose an algorithm for computing large primes p and q such that q divides p + p + p + p + p + p + 1 or p − p + p − p + p − p + 1. Such primes are the key parameters for the cryptosystem based on the 7th order characteristic sequences.

متن کامل

Generating elements of orders dividing p 6 ± p 5 + p 4 ± p 3 + p 2 ± p + 1 Maciej Grześkowiak ∗

In this paper we propose an algorithm for computing large primes p and q such that q divides p + p + p + p + p + p + 1 or p − p + p − p + p − p + 1. Such primes are the key parameters for the cryptosystem based on the 7th order characteristic sequences.

متن کامل

New Methods of Generating Primes Secure against Both P − 1 and P + 1 Methods ∗

Since cryptosystem based on the problem of factoring the composite number N can be attacked with P − 1 and P +1 methods, it is required that P −1 and P +1 should be difficult to be factored into many small primes, where we assume that the P is a factor of N . In this paper, first, we consider the distribution of secure primes against both P −1 and P +1 methods. Second, we propose two efficient ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010